package com.ss.android.wenda.c;

import android.util.Log;

import com.bytedance.common.utility.Logger;
import com.bytedance.retrofit2.Callback;
import com.bytedance.retrofit2.ResponseWrapper;
import com.ss.android.wenda.model.Answer;

final class h implements Callback {
    private final g b;
    private final Answer a;

    h(g arg1, Answer arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void onCacheResponse(ResponseWrapper response) {
    }

    public final void onErrorResponse(Throwable throwable) {
        if(Logger.debug()) {
            Log.d("DiggAnswerPresenter", "digg answer failed, mType = " + g.a(this.b) + ", answer.mAnsId = " + this.a.mAnsId);
        }
    }
}

